*****************************************************
*TABLE 7: Change in defensive ownership, 2004 to 2006 
*****************************************************
local mresult "Results/Table7.xls"

set more off
*Change in foreign (baseline)
use "Regressions Data/baseline0406_nown.dta",clear
keep if year==2004
reg dfo orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', replace dec(3) ctitle(foreign OLS) keep(orange gray lemp tfp privatized)

*Change in foreign (JSCReg)
use "Regressions Data/JSCReg0406_nown.dta",clear
set more off
keep if year==2004
reg dfo orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', append dec(3) ctitle(foreign OLS) keep(orange gray lemp tfp privatized)

*Change in offshore (baseline)
use "Regressions Data/baseline0406_nown.dta",clear
set more off
keep if year==2004
reg doff orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', append dec(3) ctitle(offshore OLS) keep(orange gray lemp tfp privatized)

*Change in offshore (JSCReg)
use "Regressions Data/JSCReg0406_nown.dta",clear
set more off
keep if year==2004
reg doff orange gray lemp tfp privatized sec1 sec2 sec4-sec10, cluster(group) 
outreg2 using `mresult', append dec(3) ctitle(offshore OLS) keep(orange gray lemp tfp privatized)
